﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using QuanLiBongDa.PresentationLayer;

namespace QuanLiBongDa
{
    public partial class FrMain : Form
    {
        public FrMain()
        {
            InitializeComponent();
        }

        private void bt_QuanLi_Click(object sender, EventArgs e)
        {
            pn_Main.Visible = true;
            QuanLiDoiBong qldb = new QuanLiDoiBong();
            pn_Main.Controls.Clear();
            pn_Main.Controls.Add(qldb);
        }

        private void bt_LapLich_Click(object sender, EventArgs e)
        {
            pn_Main.Visible = true;
            LapLichThiDau lltd = new LapLichThiDau();
            pn_Main.Controls.Clear();
            pn_Main.Controls.Add(lltd);
        }

        private void bt_GhiNhan_Click(object sender, EventArgs e)
        {
            pn_Main.Visible = true;
            GhiNhanKetQua gnkq = new GhiNhanKetQua();
            pn_Main.Controls.Clear();
            pn_Main.Controls.Add(gnkq);
        }

        private void bt_TraCuu_Click(object sender, EventArgs e)
        {
            pn_Main.Visible = true;
            TraCuu tc = new TraCuu();
            pn_Main.Controls.Clear();
            pn_Main.Controls.Add(tc);
        }

        private void bt_BangXepHang_Click(object sender, EventArgs e)
        {
            pn_Main.Visible = true;
            BangXepHang bxh = new BangXepHang();
            pn_Main.Controls.Clear();
            pn_Main.Controls.Add(bxh);
        }
    }
}
